//
//  Bundle-Extension.swift
//  weiboswift
//
//  Created by dingzhibing on 2017/3/1.
//  Copyright © 2017年 dingzhibing. All rights reserved.
//

import Foundation
extension Bundle {
    //计算型属性类似于函数，没有参数，有返回值
    var namespace:String{
        return infoDictionary?["CFBundleName"] as? String ?? ""
    }
}
